if exist %tmp%\odi%w_odi%.isa del %tmp%\odi%w_odi%.isa >nul
if exist %tmp%\odi%w_odi%.pci del %tmp%\odi%w_odi%.pci >nul
if exist %tmp%\odi%w_odi%.txt del %tmp%\odi%w_odi%.txt >nul
goto _eof
:_nolan
%0 : _error No driver files found on %srcdrv% (%srcdrv%\lib\odi%p_clnt%\*.%arcext%)
:_nicok
set p_nic=%pci0%
set pci0=
set w_netcard=
if "%w_odi%"=="16" set w_netcard=%p_nic%.com
if "%w_odi%"=="32" set w_netcard=%p_nic%.lan
if not exist %ramdrv%\lan\%w_netcard% %0 : _error Nic driver %ramdrv%\lan\%w_netcard% not found
if "%w_netcard%"=="" %0 : _error No driver found for '%p_nic%'
if "%p_clnt%"=="16" if exist %ramdrv%\lan\lsl.com goto _skp3216
if "%p_clnt%"=="32" if "%w_odi%"=="32" if exist %ramdrv%\lan\cmsm.nlm goto _skp3216
if "%p_clnt%"=="32" if "%w_odi%"=="16" if exist %ramdrv%\lan\n16odi.com if exist %ramdrv%\lan\nesl.com if exist %ramdrv%\lan\pc32mlid.lan goto _skp3216
:_sp3216
echo NWLAN: Prepare support for %w_odi% bit ODI driver with %p_clnt% bit Client
if not exist %srcdrv%\lib\nw%w_odi%%p_clnt%.%arcext% %0 : _error missing '%srcdrv%\lib\nw%w_odi%%p_clnt%.%arcext%'